package edu.tgc.entity;

import java.util.Date;
import java.util.UUID;

import edu.tgc.entity.system.SysUser;

public class MsgPost implements java.io.Serializable {

    private static final long serialVersionUID = 1126401612315878735L;
    private UUID id;
    private MsgMessage message;
    private Date postTime;
    private Date readTime;
    private SysUser receiveUser;
    private SysUser sendUser;

    /**
     * @return the id
     */
    public UUID getId() {
        return this.id;
    }

    /**
     * @return the message
     */
    public MsgMessage getMessage() {
        return this.message;
    }

    /**
     * @return the postTime
     */
    public Date getPostTime() {
        return this.postTime;
    }

    /**
     * @return the readTime
     */
    public Date getReadTime() {
        return this.readTime;
    }

    /**
     * @return the receiveUser
     */
    public SysUser getReceiveUser() {
        return this.receiveUser;
    }

    /**
     * @return the sendUser
     */
    public SysUser getSendUser() {
        return this.sendUser;
    }

    /**
     * @param id
     *            the id to set
     */
    public void setId(UUID id) {
        this.id = id;
    }

    /**
     * @param message
     *            the message to set
     */
    public void setMessage(MsgMessage message) {
        this.message = message;
    }

    /**
     * @param postTime
     *            the postTime to set
     */
    public void setPostTime(Date postTime) {
        this.postTime = postTime;
    }

    /**
     * @param readTime
     *            the readTime to set
     */
    public void setReadTime(Date readTime) {
        this.readTime = readTime;
    }

    /**
     * @param receiveUser
     *            the receiveUser to set
     */
    public void setReceiveUser(SysUser receiveUser) {
        this.receiveUser = receiveUser;
    }

    /**
     * @param sendUser
     *            the sendUser to set
     */
    public void setSendUser(SysUser sendUser) {
        this.sendUser = sendUser;
    }

}
